package com.example.hxds.odr.controller.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @Author XUYANG
 * @Date 2024-03-22 14:06
 */
@Data
@Schema(description = "查询司机当前订单的表单")
public class SearchDriverCurrentOrderForm {
    @NotNull(message = "查询司机当前订单表单不能为空")
    @Min(value = 0, message = "driverId不能小于0")
    @Schema(description = "司机ID")
    private Long driverId;
}
